<template>
    <div>
        <h2>您点击的手机是{{ value }}</h2>
        <div class="big_box">
            <bottomcontent :titleval="titleval" @cli="clicks"></bottomcontent>
        </div>
    </div>
</template>

<script>
import bottomcontent from './content.vue'
export default {
    props: ['titleval'],
    data() {
        return {
            value:this.titleval
        }
    },
    methods: {
        clicks(val) {
            this.value = val;
        }
    },
    components: {
        bottomcontent
    },
};
</script>

<style>
</style>